package com.hao.tool.common.enums;

import lombok.Getter;

/**
 * description
 *
 * @author RuiHaoZ on GZ.cmhk
 * @date 2019-11-22 08:35
 */
@Getter
public enum AuthTypeEnum {
    HIDE(-1, "隐藏"),
    PUBLIC(0, "公共的"),
    PROTECTED(1, "公用的（需登录后才可）"),
    PRIVATE(2, "私有的（需登录且匹配用户）");
    private Integer code;
    private String desc;

    AuthTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
